using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using CHEnhanceEfCore.Models;

namespace CHEnhanceEfCore.Service
{
    /// <summary>
    /// author: chenhao
    /// </summary>
    public interface IUserService
    {
        Task saveAsync(User user);
        Task<List<User>> getUserListAsync();
        Task<dynamic> loginAsync(User user);
        Task<User> getUserInfoAsync(Guid userId);
    }
}